﻿using LForum.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Layans.Data
{
    public class NewsMassage
    {
        public int Id { get; set; }

        public NewsInfo Name { get; set; }

        [StringLength(5000, MinimumLength = 5, ErrorMessage = "полето трябва да е минимум 5 и максимум 5000 символа")]
        public string Massages { get; set; }

        public ExternalLoginConfirmationViewModel name { get; set; }

        public IEnumerable<MassageAnswer> MassageAnswer { get; set; }

        public Avatar img { get; set; }

        public string avatar { get; set; }
    }
}
